<!-- left menu starts -->
<div class="span2 main-menu-span">
	<div class="well nav-collapse sidebar-nav" id="test">
	<ul id="main-nav" class="nav nav-tabs nav-stacked" style="">
	   <#list (currentUserPermission)?if_exists as permission>
	      <li>
	         <a href="#menu${permission.pid}" class="nav-header collapsed" data-toggle="collapse">
                 <i class="${(permission.style)?if_exists}"></i>
                 ${permission.pname}
             </a>
             <ul id="menu${permission.pid}" class="nav nav-tabs nav-stacked main-menu collapse secondmenu" style="height: 0px;">
                <#list (permission.sortChilds)?if_exists as child>
                   <li><a href="${(child.purl)?if_exists}"><i class="${(child.style)?if_exists}"></i>${(child.pname)?if_exists}</a></li>
                </#list>
             </ul>
	      </li>
	   </#list>
        

    </ul>
	</div><!--/.well -->

</div><!--/span-->

<!-- left menu ends -->